<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="__STATIC__/layui/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/layui/css/view.css"/>
    <link rel="icon" href="/favicon.ico">
    <title>管理后台</title>
</head>
<body class="layui-view-body">
<div class="layui-content">
    <div class="layui-page-header">
        <div class="pagewrap">
                <span class="layui-breadcrumb">
                  <a href="">首页</a>
                  <a href="">用户</a>
                  <a><cite>用户组</cite></a>
                </span>
            <h2 class="title">用户组</h2>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="form-box">
                    <div class="layui-form layui-form-item">
                        <form method="post" action="houtaicx" class="layui-form">
                        <div class="layui-inline">

                            <div class="layui-form-mid">用户名:</div>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input name="username" type="text" autocomplete="off" class="layui-input">
                            </div>

                            <button type="submit" class="layui-btn layui-btn-blue">查询</button>

                        </div>
                            <form/>
                    </div>
                    <a class="layui-btn layui-btn-blue" href="useradd"><i class="layui-icon">&#xe654;</i>新增</a>
                    <table id="demo"></table>
                </div>
            </div>
        </div>

        <table class="layui-table">
            <thead>
            <tr>
                <th>ID</th>
                <th>用户名</th>
                <th>年龄</th>
                <th>签名</th>
                <th>性别</th>
                <th>城市</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name="users" id="user"}
            <tr>
                <td>{$user.no}</td>
                <td>{$user.username}</td>
                <td>{$user.age}</td>
                <td>{$user.qianming}</td>
                <td>{$user.gender}</td>
                <td>{$user.city}</td>
                <td>
                    <a href="{:url('houtai/useredit',['no'=>$user.no])}" class="layui-btn layui-btn-sm">编辑</a>
                    <a href="{:url('houtai/del',['no'=>$user.no])}" class="layui-btn layui-btn-danger layui-btn-sm">删除</a>
                </td>
            </tr>
            {/volist}
            </tbody>


        </table>
    </div>


</div>
<script src="__STATIC__/layui/layui.all.js"></script>



</body>
</html>